Science and the City: The Mechanics Behind the Metropolis